#include <QFile>
#include <QDebug>

int main() {
    // 测试资源文件是否存在
    QStringList resources = {
        ":/scripts/cpu_scheduler.sh",
        ":/scripts/cpu-scheduler.service",
        ":/scripts/cpu-scheduler.conf",
        ":/scripts/install_service.sh",
        ":/scripts/uninstall_service.sh"
    };
    
    for (const QString &resource : resources) {
        if (QFile::exists(resource)) {
            qDebug() << "资源文件存在:" << resource;
        } else {
            qDebug() << "资源文件不存在:" << resource;
        }
    }
    
    return 0;
}